<?php
$ms = "Shop";
$subMenu = "shop-menu.php";
include "header.php";
?>
<div class="cornerAll">
	<ul class="breadcrumb">
		<li><a href="index.php" class="fist_link">Home</a></li>
		<li><a href="shop.php" class="second_link">Shop</a></li>
		<li><a href="presses.php">Post Presses</a></li>
	</ul>
	<div class="left">
		<a href="add-post-press.php" class="bt">Add post press</a>
		<table>
			<thead>
				<tr>
					<th>Model</th>
					<th>Type</th>
					<th></th>
				</tr>
			</thead>
			<tbody>
				<?php drawRows();?>
			</tbody>
		</table>	
		
	<?php 
	include "page-numbers.php";
	?>			
	</div>
	<div class="right">
		<?php 
		$search = new Form();
		$search->addField("text","Model");
		$search->addField("select","Type");
		$search->button("Search");
		$search->draw();
		?>
	</div>
	<div class="clear"></div>
</div>
<?php  
function drawRows(){
	for($i = 0; $i < 10; $i++){
	?>
		<tr>
			<td><a href="post-press.php">KFMZ-1300/1450/1600</a></td>
			<td>Fully Automatic Flute Laminating Machine</td>
			<td><a href="post-press.php">View</a></td>
		</tr>
	<?php 
	}
}
include "footer.php";
?>